package com.nd.qa.shareplate.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nd.qa.shareplate.IDao.ProjectTypeMapper;
import com.nd.qa.shareplate.model.ProjectType;
import com.nd.qa.shareplate.service.ProjectTypeService;

@Service("com.nd.qa.shareplate.service.ProjectTypeService")
public class ProjectTypeServiceImpl implements ProjectTypeService{

	@Autowired
	private ProjectTypeMapper projectTypeMapper;
	
	@Override
	public void updateProjectType(ProjectType projectType) {
		projectTypeMapper.updateProjectType(projectType);
	}

	@Override
	public List<ProjectType> queryInfoByType(ProjectType projectType) {
		return projectTypeMapper.queryInfoByType(projectType);
	}

}
